package com.disruptor.learn;


import com.lmax.disruptor.EventHandler;

/**
 * @author Eric
 * @version 1.0
 * @date 2020-06-28
 */
public class LongEventHandler implements EventHandler<LongEvent> {

    @Override
    public void onEvent(LongEvent longEvent, long l, boolean b) throws Exception {
        System.out.println("Event: " + longEvent);
    }
}
